﻿using Furion;
using MySql.Data.MySqlClient;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gear.ORM.Core.DeepDB
{
    public static class DeepPool
    {
        /// <summary>
        /// sqlsugar 静态仓储
        /// </summary>
        /// <returns></returns>
        public static SqlSugarClient DeepSugar()=> new SqlSugarClient(ORMTool.SqlSugarConnectionConfigs());
        /// <summary>
        /// sqlsugar 静态仓储
        /// </summary>
        /// <returns></returns>
        public static SqlSugarClient DeepSugar(List<ConnectionConfig> conn) => new SqlSugarClient(conn);

    }
}
